//
function login(username) {
    return "as";
}
function login1(username) {
    return username;
}
function login2(b, c) {
    return [b, c];
}
var res = login("");
console.log(res);
var res1 = login1(666);
console.log(res1);
var res2 = login2("age", 18);
console.log(res2);
//约束
function aaa(a) {
    return a;
}
function aaa1(a) {
    return a;
}
function aaa2(a) {
    return a;
}
var res3 = aaa("sdjk");
var res4 = aaa1(47);
var res5 = aaa2("a");
var p = {
    name: "zs",
    age: 18
};
function ccc2(a) {
    return a;
}
var res6 = ccc2("age");
console.log(res6);
function ddd(obj, xxx) {
    return obj[xxx];
}
var res7 = ddd({ name: "ls", age: 19 }, "age");
console.log(res7);
function ddd1(obj, xxx) {
    return obj[xxx];
}
var res8 = ddd1({ name: "ls", age: 19 }, "ageg");
console.log(res8);
function ddd2(obj, xxx) {
    return obj[xxx];
}
var res9 = ddd2("fhj", "substring");
console.log(res9);
var o = {
    height: 180,
    xxx: function () {
        console.log("666");
        return "ok";
    }
};
console.log(o.xxx());
